home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 138
/
Volume 138 Aug 19 2011 - Damaged.iso
/
Games
/
shore_siege.swf
/
scripts
/
DefineSprite_456
/
frame_1
/
PlaceObject2_454_350
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
< prev
next >
Wrap
Text File
|
2011-08-19
|
314b
|
15 lines
onClipEvent(enterFrame){
if(active == true)
{
_parent.mouseState = 4;
_parent.changeStateFlag = 0;
_X = _X + (_root._xmouse - _X) / 1.2;
_Y = _Y + (_root._ymouse - _Y) / 1.2;
}
else
{
_X = _X + (xPos - _X) / 1.5;
_Y = _Y + (yPos - _Y) / 1.5;
}
}